package com.xsp.vod.service;

import com.aliyuncs.exceptions.ClientException;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface VodService {
    //上传视频，返回视频id
    String uploadVideo(MultipartFile file) throws IOException;

    //根据视频id删除视频
    void removeVideo(String videoId) throws ClientException;

    //批量删除视频
    void removeVideoList(List<String> videoIdList);
}
